\documentclass{minimal}
\begin{document}

\begin{outer}
\begin{inner} inline environment \end{inner}
  \end{outer}

\end{document}
